package com.itheima.day20.demo07.接口回调;

public class Boss implements CallBackInterface {
    private Employee employee;

    public Boss() {
    }

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        employee.setCallBackInterface(this);
        this.employee = employee;
    }

    @Override
    public void call(int result) {
        System.out.println("get employee working result:" + result);
    }
}
